package com.foldingleaf.feedback.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.foldingleaf.common.annotation.Excel;
import com.foldingleaf.common.core.domain.BaseEntity;

/**
 * 反馈对象 feedback
 * 
 * @author ajian
 * @date 2022-06-10
 */
public class Feedback
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long feedbackId;

    /** 内容 */
    @Excel(name = "内容")
    private String feedbackContent;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateline;

    public void setFeedbackId(Long feedbackId) 
    {
        this.feedbackId = feedbackId;
    }

    public Long getFeedbackId() 
    {
        return feedbackId;
    }
    public void setFeedbackContent(String feedbackContent) 
    {
        this.feedbackContent = feedbackContent;
    }

    public String getFeedbackContent() 
    {
        return feedbackContent;
    }
    public void setDateline(Date dateline) 
    {
        this.dateline = dateline;
    }

    public Date getDateline() 
    {
        return dateline;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedbackId", getFeedbackId())
            .append("feedbackContent", getFeedbackContent())
            .append("dateline", getDateline())
            .toString();
    }
}
